<?php
    header("Content-type: text/html; charset=utf-8");
    session_start();
	define('UserPhotoPath','../images/');		//用户头像存放的路径
	require_once('../system/myFunc.php'); 
	if(!isset($_SESSION['user'])){
        redirect('login.html','无权限，请登录');
         exit;
	}  
    require_once('../system/dbConn.php');  
?>